
package net.colah.k1.application.core;

import java.util.List;
import org.dayatang.querychannel.Page;
import net.colah.k1.application.dto.*;

public interface ProductApplication {

	public ProductDTO getProduct(Long id);
	
	public ProductDTO saveProduct(ProductDTO product);
	
	public void updateProduct(ProductDTO product);
	
	public void removeProduct(Long id);
	
	public void removeProducts(Long[] ids);
	
	public List<ProductDTO> findAllProduct();
	
	public Page<ProductDTO> pageQueryProduct(ProductDTO product, int currentPage, int pageSize);
	
	public SupplierDTO findSupplierByProduct(Long id);


	
}

